/* 轮播图 */
#banner {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#banner ul {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 401%;
}

#banner li {
    width: 100vw;
    height: 100vh;
}

#banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#banner:hover .leftBtn,
#banner:hover .rightBtn {
    opacity: 1;
}

.pageN {
    position: absolute;
    bottom: 50px;
    left: 53%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.pageN span {
    font-weight: bold;
    font-size: 38px;
    color: white;
    cursor: pointer;
}

.pageN span.active {
    color: red;
}

.currenthover{
    color: red;
}

.pageN span:hover {
    color: red;
}

.leftBtn, .rightBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    cursor: pointer;
    width: 66px;
    height: 58px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.leftBtn {
    left: 80px;
}

.rightBtn {
    right: 80px;
}

.leftBtn .iconfont,
.rightBtn .iconfont {
    font-size: 30px;
    font-weight: bold;
}

.leftBtn:hover, .rightBtn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}







